package cn.zn.base.common.enums;

/**
 * 操作状态
 *
 * @author zn-admin
 */
public enum BusinessStatus {
    /**
     * 成功
     */
    SUCCESS("0", "成功"),
    /**
     * 失败
     */
    FAIL("1", "失败");

    private final String code;
    private final String info;

    BusinessStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
